/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import dao.design.IAlumnoDAO;
import dao.design.IUsuarioDAO;
import dao.impl.AlumnoDAO;
import dao.impl.UsuarioDAO;

/**
 *
 * @author Haybert
 */
public class DAOFactory {

    private static DAOFactory daoFac;

    static {
        daoFac = new DAOFactory();
    }

    public static DAOFactory getInstance() {
        return daoFac;
    }

    public IUsuarioDAO getUsuarioDAO() {
        return new UsuarioDAO();
    }
    public IAlumnoDAO getAlumnoDAO() {
        return new AlumnoDAO();
    }
}
